<?php /* Smarty version 2.6.26, created on 2010-06-30 16:44:39
         compiled from form.tpl */ ?>
<div id="register">
<div id="container">
<br /><h1><?php echo $this->_tpl_vars['formname']; ?>
（带星号项必填）</h1>
<hr size="5" color="#9D9D9D" />
<hr size="5" color="#9D9D9D" />
</div>
<form id="form1" name="form1" method="post" action="">
<table bgcolor="#999999" cellpadding="0" cellspacing="0" border="0">
<tr><td height="600" style="vertical-align:top;">
<table bgcolor="#aaaaaa" border="0" align="center" cellpadding="0" cellspacing="1">
  <?php unset($this->_sections['index']);
$this->_sections['index']['name'] = 'index';
$this->_sections['index']['loop'] = is_array($_loop=$this->_tpl_vars['formrows']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['index']['show'] = true;
$this->_sections['index']['max'] = $this->_sections['index']['loop'];
$this->_sections['index']['step'] = 1;
$this->_sections['index']['start'] = $this->_sections['index']['step'] > 0 ? 0 : $this->_sections['index']['loop']-1;
if ($this->_sections['index']['show']) {
    $this->_sections['index']['total'] = $this->_sections['index']['loop'];
    if ($this->_sections['index']['total'] == 0)
        $this->_sections['index']['show'] = false;
} else
    $this->_sections['index']['total'] = 0;
if ($this->_sections['index']['show']):

            for ($this->_sections['index']['index'] = $this->_sections['index']['start'], $this->_sections['index']['iteration'] = 1;
                 $this->_sections['index']['iteration'] <= $this->_sections['index']['total'];
                 $this->_sections['index']['index'] += $this->_sections['index']['step'], $this->_sections['index']['iteration']++):
$this->_sections['index']['rownum'] = $this->_sections['index']['iteration'];
$this->_sections['index']['index_prev'] = $this->_sections['index']['index'] - $this->_sections['index']['step'];
$this->_sections['index']['index_next'] = $this->_sections['index']['index'] + $this->_sections['index']['step'];
$this->_sections['index']['first']      = ($this->_sections['index']['iteration'] == 1);
$this->_sections['index']['last']       = ($this->_sections['index']['iteration'] == $this->_sections['index']['total']);
?>
  <tr bgcolor="#999999">
    <td align="right"><br /><?php echo $this->_tpl_vars['formrows'][$this->_sections['index']['index']]['item']; ?>
<br /><br /></td>
    <td><br /><?php echo $this->_tpl_vars['formrows'][$this->_sections['index']['index']]['itemtype']; ?>
<br /><br /></td>
    <td><br /><?php echo $this->_tpl_vars['formrows'][$this->_sections['index']['index']]['allownull']; ?>
<br /><br /></td>
  </tr>   
  <?php endfor; endif; ?>
  <tr bgcolor="#999999" height="50"><td colspan="3" align="right">
  <input type="submit" name="submit" value="提交" />&nbsp;&nbsp;&nbsp;
  <input type="reset" name="reset" value="重置" />&nbsp;&nbsp;&nbsp;
  </td></tr>
</table>
</td></tr></table>
</form>
</div>